package cn.wolfcode.wechat.domain;

import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class Hire extends BaseDomain {


    private static final int NORMAL = 0; //普通打手
    private static final int RETIREMENT_SOLDIER = 1;  //退役军人
    private static final int MASTER = 2; //武学宗师
    private static final int HOOLIGANISMER = 3; //专业流氓

    private String name;
    private int level;
    private String tel;

    public String getLevelDisplay(){
        switch (this.level){
            case NORMAL:return "普通打手";
            case RETIREMENT_SOLDIER:return "退役军人";
            case MASTER:return "武学宗师";
            case HOOLIGANISMER:return "专业流氓";
            default:return "打酱油的";
        }
    }
}
